﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CSharp_1209
{
    public interface IAnimal
    {
        void Habitat();
    }

    public class Dog : IAnimal
    {
        public void Habitat()
        {
            Console.WriteLine("Can be housed with human.");
        }

        public static void Test()
        {
            Dog d = new Dog();

            d.Habitat();
        }
    }
}
